﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="FrmInformeOrdenMerito.aspx.cs" Inherits="UI.DireccionAcademica.FrmInformeOrdenMerito" %>



<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">


        .style3
        {
            height: 44px;
        }
        .style29
        {
            width: 93px;
        }
        .style28
        {
            height: 26px;
        }
        .style21
        {
            width: 66px;
            height: 26px;
        }
        .style26
        {
            width: 151px;
            height: 26px;
        }
        .style30
        {
            width: 262px;
        }
        .style31
        {
            height: 26px;
            width: 262px;
        }
        </style>

        <script language="javascript" type="text/javascript">
            function Button1_onclick() {

            }


            function AbrirVentana(url) {
                window.open(url, '_blank');
            }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:UpdatePanel ID="panel1" runat="server">
     <ContentTemplate>
    <table class="BTabla" style="width: 100%">
        <tr>
            <td class="style3" colspan="5">
                <h2>
                    reporte de órden de mérito</h2>
            </td>
        </tr>
        <tr>
            <td class="filaTabla" colspan="5">
                Datos Obligatorios</td>
        </tr>
        <tr>
            <td class="style30">
                Semestre Académico
            </td>
            <td class="style21">
                <asp:DropDownList ID="comboSemestre" runat="server" style="margin-left: 0px" 
                    Width="74px">
                </asp:DropDownList>
            </td>
            <td class="style26">
                    <asp:Label ID="Label2" runat="server" Text="Promoción :"></asp:Label>
            </td>
            <td class="style21"  >
            
                <asp:TextBox ID="txtPromocion" runat="server"></asp:TextBox>
            
            </td>
            <td rowspan="2"  class="style29">

                <asp:Button ID="btnGenerar" runat="server" Text="Generar"  Width="87px" 
                    Height="34px" onclick="btnGenerar_Click"  />

            </td>
        </tr>
        <tr>
            <td class="style31" >
                    Especialidad:</td>
            <td class="style21" >
            
                <asp:DropDownList ID="comboEspecialidad" runat="server" style="margin-left: 0px" 
                    Width="255px">
                </asp:DropDownList>
            
            </td>
            <td class="style26">
                    Ciclo Academico :</td>
            <td class="style21">
                <asp:DropDownList ID="comboCiclo" runat="server" style="margin-left: 0px" 
                    Width="74px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style31" >
                    <asp:RadioButtonList ID="radioTercio" runat="server">
                        <asp:ListItem Selected="True" Value="3">Tercio</asp:ListItem>
                        <asp:ListItem Value="5">Quinto</asp:ListItem>
                    </asp:RadioButtonList>
            </td>
            <td class="style28" >
                    &nbsp;</td>
            <td class="style28" >
                    <asp:CheckBox ID="checkBoxPracticaDocente" runat="server" 
                        Text="Solo Practica Docente" />
            </td>
            <td class="style28" >
                    &nbsp;</td>
            <td rowspan="2"  class="style29">

                <asp:Button ID="btnReporte" runat="server" Text="Reporte"  Width="87px" 
                    Height="34px" onclick="btnReporte_Click"  />

            </td>
        </tr>
        <tr>
            <td class="style28" colspan="4" >
                    <asp:Label ID="LabelError" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>



         <br />


    <asp:GridView ID="gridListado" runat="server" Width="909px" AutoGenerateColumns="False"
        CaptionAlign="Top" AllowSorting="True" AllowPaging="True" PageSize="5000000" 
        onrowdatabound="gridListado_RowDataBound">
        <Columns>
            <asp:BoundField HeaderText="CODIGO" DataField="CODIGO" />
            <asp:BoundField HeaderText="Apellidos y Nombres" 
                DataField="ApellidosyNombres" />
            <asp:BoundField DataField="periodo" HeaderText="Periodo" />
            <asp:BoundField DataField="creditos" HeaderText="Creditos" />
            <asp:BoundField DataField="totalCreditos" HeaderText="Total Creditos" />
            <asp:BoundField DataField="PuntajeSemestre" HeaderText="Puntaje Semestre" />
            <asp:BoundField DataField="puntajeTotal" HeaderText="Puntaje Total" />
            <asp:BoundField DataField="promedioPonderadoActual" 
                HeaderText="Promedio Actual" DataFormatString="{0:N3}" />
            <asp:BoundField DataField="promedioPonderadoAcumulado" 
                HeaderText="Promedio Acumulado" DataFormatString="{0:N3}" />
            <asp:BoundField HeaderText="Puesto" />
        </Columns>
    </asp:GridView>
    
        </ContentTemplate>
    </asp:UpdatePanel>


      
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="panel1" DisplayAfter="0">
    <ProgressTemplate>
        <div style="background-color: Gray; filter:alpha(opacity=60); opacity:0.60; width: 100%; top: 0px; left: 0px; position: fixed; height: 100%;">
        </div>
          <div style="margin:auto;
              font-family:Trebuchet MS;
              filter: alpha(opacity=100);
              opacity: 1;
              font-size:small;
              vertical-align: middle;
              top: 45%;
              position: fixed;
              right: 45%;
              color: #275721;
              text-align: center;
              background-color: White;
              height: 100px; bottom: 296px;">
                <table style=" background-color: White; font-family: Sans-Serif; text-align: center; border: solid 1px #275721; color: #275721; width: inherit; height: inherit; padding: 15px;">
                <tr>
                <td style=" text-align: inherit;"><img src="../Imagenes/Gif/cargando.gif" alt="Loading"  /></td>
                <td style=" text-align: inherit;"><span style="font-family: Sans-Serif; font-size: medium; font-weight: bold; font">Cargando...</span></td>
                </tr>
                </table>
        </div>
    </ProgressTemplate>
    </asp:UpdateProgress>



    </asp:Content>
